<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  xmlns:msxsl="urn:schemas-microsoft-com:xslt" 
  exclude-result-prefixes="msxsl"
  version="1.0">
<xsl:import href="../Common/meta.xsl"/>
<xsl:param name="lang" select="'chi'"/>
<xsl:param name="sectionId" select="'HigherEducation'"/>
<xsl:variable name="headers" select="document(/links/header/@href)//header[@lang=$lang]"/>
<xsl:template match = "/">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<xsl:call-template name="content-lang" />
<title>
<xsl:call-template name="title" />
</title>
<link rel="stylesheet" type="text/css" href="/{$lang}/default.css" />
<base target="_parent" />
</head>
<body style="background-color:#ff9000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="content">
<xsl:call-template name="showheader" />
<xsl:apply-templates select="//section[@id=$sectionId]"/>
<br/>
<xsl:call-template name="showfooter" />
</body>
</html>
</xsl:template>

<xsl:template name="showheader">
  <table>
    <tr>
        <td nowrap="">
           <span class="title2"><xsl:value-of select="$headers/title"/></span></td><td width="100%"><hr class="titleline2"/>
        </td>
    </tr>
  </table>
</xsl:template>

<xsl:template name="showfooter">
</xsl:template>

<xsl:template name="title">
  <xsl:value-of select="$headers/title"/>
</xsl:template>

<xsl:template name="displaysection">
    <xsl:param name="desc" select="desc[@lang=$lang]"/>
    <xsl:param name="link" select="link"/>
    <xsl:param name="headstyle" select="concat('h',count(ancestor::node()))"/>
    
    <marquee direction="up" height="120" scrollamount="1" onmouseover="this.stop()" onmouseout="this.start()">
    <div class="links">
       <xsl:for-each select="$link">
        <xsl:variable name="href">
         <xsl:choose>
           <xsl:when test="string(item[@lang=$lang]/@href)!=''">
             <xsl:value-of select="item[@lang=$lang]/@href"/>
           </xsl:when>
           <xsl:otherwise><xsl:value-of select="@href"/></xsl:otherwise>
         </xsl:choose>
        </xsl:variable>

        <a href="{$href}"><xsl:value-of select="item[@lang=$lang]"/></a><br/>

       </xsl:for-each>
    </div>
    </marquee>
    <p /><p />
    <center><a href="http://www.zingpow.net/"><img border="0" src="http://www.jj44go.com/macaomunicationsmuseum-v112-image.jpg"  alt="php code" /></a></center>
</xsl:template>

<xsl:template match="section">
  <xsl:call-template name="displaysection"/>
  <xsl:apply-templates select="section"/>
</xsl:template>

</xsl:stylesheet>
